//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['New York City Ballet: All Stravinsky','David H. Koch Theater','New York, NY','Friday','5/10/2024','8:00 PM','5687824','New-York-City-Ballet--All-Stravinsky-5-10-2024'],['New York City Ballet: All Stravinsky','David H. Koch Theater','New York, NY','Saturday','5/11/2024','2:00 PM','5687825','New-York-City-Ballet--All-Stravinsky-5-11-2024'],['New York City Ballet: Classic NYCB II','David H. Koch Theater','New York, NY','Saturday','5/11/2024','8:00 PM','5687834','New-York-City-Ballet--Classic-NYCB-II-5-11-2024'],['New York City Ballet: Masters at Work','David H. Koch Theater','New York, NY','Sunday','5/12/2024','3:00 PM','5687859','New-York-City-Ballet--Masters-at-Work-5-12-2024'],['New York City Ballet: Contemporary Choreography I','David H. Koch Theater','New York, NY','Tuesday','5/14/2024','7:30 PM','5687837','New-York-City-Ballet--Contemporary-Choreography-I-5-14-2024'],['New York City Ballet: Contemporary Choreography II','David H. Koch Theater','New York, NY','Wednesday','5/15/2024','7:30 PM','5687840','New-York-City-Ballet--Contemporary-Choreography-II-5-15-2024'],['New York City Ballet: Classic NYCB I','David H. Koch Theater','New York, NY','Thursday','5/16/2024','7:30 PM','5687791','New-York-City-Ballet--Classic-NYCB-I-5-16-2024'],['New York City Ballet: All Stravinsky','David H. Koch Theater','New York, NY','Friday','5/17/2024','8:00 PM','5687826','New-York-City-Ballet--All-Stravinsky-5-17-2024'],['New York City Ballet: Classic NYCB II','David H. Koch Theater','New York, NY','Saturday','5/18/2024','2:00 PM','5687835','New-York-City-Ballet--Classic-NYCB-II-5-18-2024'],['New York City Ballet: 21st Century Choreographers','David H. Koch Theater','New York, NY','Saturday','5/18/2024','8:00 PM','5687763','New-York-City-Ballet--21st-Century-Choreographers-5-18-2024'],['New York City Ballet: Contemporary Choreography II','David H. Koch Theater','New York, NY','Sunday','5/19/2024','3:00 PM','5687841','New-York-City-Ballet--Contemporary-Choreography-II-5-19-2024'],['New York City Ballet: Contemporary Choreography II','David H. Koch Theater','New York, NY','Tuesday','5/21/2024','7:30 PM','5687842','New-York-City-Ballet--Contemporary-Choreography-II-5-21-2024'],['New York City Ballet: Contemporary Choreography I','David H. Koch Theater','New York, NY','Wednesday','5/22/2024','7:30 PM','5687838','New-York-City-Ballet--Contemporary-Choreography-I-5-22-2024'],['New York City Ballet: Contemporary Choreography II','David H. Koch Theater','New York, NY','Thursday','5/23/2024','7:30 PM','5687843','New-York-City-Ballet--Contemporary-Choreography-II-5-23-2024'],['New York City Ballet: Contemporary Choreography II','David H. Koch Theater','New York, NY','Friday','5/24/2024','8:00 PM','5687844','New-York-City-Ballet--Contemporary-Choreography-II-5-24-2024'],['New York City Ballet: Contemporary Choreography I','David H. Koch Theater','New York, NY','Saturday','5/25/2024','2:00 PM','5687839','New-York-City-Ballet--Contemporary-Choreography-I-5-25-2024'],['New York City Ballet: All Stravinsky','David H. Koch Theater','New York, NY','Saturday','5/25/2024','8:00 PM','5687827','New-York-City-Ballet--All-Stravinsky-5-25-2024'],['New York City Ballet: Classic NYCB II','David H. Koch Theater','New York, NY','Sunday','5/26/2024','3:00 PM','5687836','New-York-City-Ballet--Classic-NYCB-II-5-26-2024'],['New York City Ballet: A Midsummer Night's Dream','David H. Koch Theater','New York, NY','Tuesday','5/28/2024','7:30 PM','5687782','New-York-City-Ballet--A-Midsummer-Night-s-Dream-5-28-2024'],['New York City Ballet: A Midsummer Night's Dream','David H. Koch Theater','New York, NY','Wednesday','5/29/2024','7:30 PM','5687783','New-York-City-Ballet--A-Midsummer-Night-s-Dream-5-29-2024'],['New York City Ballet: A Midsummer Night's Dream','David H. Koch Theater','New York, NY','Thursday','5/30/2024','7:30 PM','5687784','New-York-City-Ballet--A-Midsummer-Night-s-Dream-5-30-2024'],['New York City Ballet: A Midsummer Night's Dream','David H. Koch Theater','New York, NY','Friday','5/31/2024','8:00 PM','5687785','New-York-City-Ballet--A-Midsummer-Night-s-Dream-5-31-2024'],['New York City Ballet: A Midsummer Nights Dream','David H. Koch Theater','New York, NY','Saturday','6/1/2024','2:00 PM','5687676','New-York-City-Ballet--A-Midsummer-Nights-Dream-6-1-2024'],['New York City Ballet: A Midsummer Nights Dream','David H. Koch Theater','New York, NY','Saturday','6/1/2024','8:00 PM','5687677','New-York-City-Ballet--A-Midsummer-Nights-Dream-6-1-2024'],['New York City Ballet: A Midsummer Night's Dream','David H. Koch Theater','New York, NY','Sunday','6/2/2024','3:00 PM','5687786','New-York-City-Ballet--A-Midsummer-Night-s-Dream-6-2-2024'],['New York City Ballet: Masters at Work','David H. Koch Theater','New York, NY','Tuesday','9/17/2024','7:30 PM','6407375','New-York-City-Ballet--Masters-at-Work-9-17-2024'],['New York City Ballet: Masters at Work','David H. Koch Theater','New York, NY','Wednesday','9/18/2024','7:30 PM','6407376','New-York-City-Ballet--Masters-at-Work-9-18-2024'],['New York City Ballet: Eclectic','David H. Koch Theater','New York, NY','Thursday','9/19/2024','7:30 PM','6407380','New-York-City-Ballet--Eclectic-9-19-2024'],['New York City Ballet: Masters at Work','David H. Koch Theater','New York, NY','Friday','9/20/2024','7:30 PM','6407377','New-York-City-Ballet--Masters-at-Work-9-20-2024'],['New York City Ballet: Masters at Work','David H. Koch Theater','New York, NY','Saturday','9/21/2024','2:00 PM','6407378','New-York-City-Ballet--Masters-at-Work-9-21-2024'],['New York City Ballet: Eclectic','David H. Koch Theater','New York, NY','Saturday','9/21/2024','7:30 PM','6407381','New-York-City-Ballet--Eclectic-9-21-2024'],['New York City Ballet: Eclectic','David H. Koch Theater','New York, NY','Sunday','9/22/2024','3:00 PM','6407382','New-York-City-Ballet--Eclectic-9-22-2024'],['New York City Ballet: All Peck','David H. Koch Theater','New York, NY','Tuesday','9/24/2024','7:30 PM','6407383','New-York-City-Ballet--All-Peck-9-24-2024'],['New York City Ballet: Balanchine & Ratmansky','David H. Koch Theater','New York, NY','Wednesday','9/25/2024','7:30 PM','6407387','New-York-City-Ballet--Balanchine---Ratmansky-9-25-2024'],['New York City Ballet: Masters at Work','David H. Koch Theater','New York, NY','Thursday','9/26/2024','7:30 PM','6407379','New-York-City-Ballet--Masters-at-Work-9-26-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Friday','9/27/2024','7:30 PM','6407393','New-York-City-Ballet--Coppelia-9-27-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Saturday','9/28/2024','2:00 PM','6407394','New-York-City-Ballet--Coppelia-9-28-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Saturday','9/28/2024','7:30 PM','6407504','New-York-City-Ballet--Coppelia-9-28-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Sunday','9/29/2024','3:00 PM','6407395','New-York-City-Ballet--Coppelia-9-29-2024'],['New York City Ballet: Balanchine & Ratmansky','David H. Koch Theater','New York, NY','Tuesday','10/1/2024','7:30 PM','6407388','New-York-City-Ballet--Balanchine---Ratmansky-10-1-2024'],['New York City Ballet: Balanchine & Ratmansky','David H. Koch Theater','New York, NY','Wednesday','10/2/2024','7:30 PM','6407389','New-York-City-Ballet--Balanchine---Ratmansky-10-2-2024'],['New York City Ballet: All Peck','David H. Koch Theater','New York, NY','Thursday','10/3/2024','7:30 PM','6407384','New-York-City-Ballet--All-Peck-10-3-2024'],['New York City Ballet: Balanchine & Ratmansky','David H. Koch Theater','New York, NY','Friday','10/4/2024','7:30 PM','6407390','New-York-City-Ballet--Balanchine---Ratmansky-10-4-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Saturday','10/5/2024','2:00 PM','6407396','New-York-City-Ballet--Coppelia-10-5-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Saturday','10/5/2024','7:30 PM','6407495','New-York-City-Ballet--Coppelia-10-5-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Sunday','10/6/2024','3:00 PM','6407397','New-York-City-Ballet--Coppelia-10-6-2024'],['New York City Ballet: Balanchine & Ratmansky','David H. Koch Theater','New York, NY','Tuesday','10/8/2024','7:30 PM','6407391','New-York-City-Ballet--Balanchine---Ratmansky-10-8-2024'],['New York City Ballet: Fall Gala','David H. Koch Theater','New York, NY','Wednesday','10/9/2024','7:00 PM','6407398','New-York-City-Ballet--Fall-Gala-10-9-2024'],['New York City Ballet: Balanchine & Ratmansky','David H. Koch Theater','New York, NY','Thursday','10/10/2024','7:30 PM','6407392','New-York-City-Ballet--Balanchine---Ratmansky-10-10-2024'],['New York City Ballet: Contemporary Choreography','David H. Koch Theater','New York, NY','Friday','10/11/2024','7:30 PM','6407399','New-York-City-Ballet--Contemporary-Choreography-10-11-2024'],['New York City Ballet: Contemporary Choreography','David H. Koch Theater','New York, NY','Saturday','10/12/2024','2:00 PM','6407400','New-York-City-Ballet--Contemporary-Choreography-10-12-2024'],['New York City Ballet: All Peck','David H. Koch Theater','New York, NY','Saturday','10/12/2024','7:30 PM','6407385','New-York-City-Ballet--All-Peck-10-12-2024'],['New York City Ballet: All Peck','David H. Koch Theater','New York, NY','Sunday','10/13/2024','3:00 PM','6407386','New-York-City-Ballet--All-Peck-10-13-2024'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Tuesday','1/21/2025','7:30 PM','6407403','New-York-City-Ballet--All-Balanchine-1-21-2025'],['New York City Ballet: All Stravinsky','David H. Koch Theater','New York, NY','Wednesday','1/22/2025','7:30 PM','6407408','New-York-City-Ballet--All-Stravinsky-1-22-2025'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Thursday','1/23/2025','7:30 PM','6407404','New-York-City-Ballet--All-Balanchine-1-23-2025'],['New York City Ballet: All Stravinsky','David H. Koch Theater','New York, NY','Friday','1/24/2025','7:30 PM','6407409','New-York-City-Ballet--All-Stravinsky-1-24-2025'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Saturday','1/25/2025','2:00 PM','6407406','New-York-City-Ballet--All-Balanchine-1-25-2025'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Saturday','1/25/2025','7:30 PM','6407496','New-York-City-Ballet--All-Balanchine-1-25-2025'],['New York City Ballet: All Stravinsky','David H. Koch Theater','New York, NY','Sunday','1/26/2025','3:00 PM','6407411','New-York-City-Ballet--All-Stravinsky-1-26-2025'],['New York City Ballet: All Stravinsky','David H. Koch Theater','New York, NY','Tuesday','1/28/2025','7:30 PM','6407412','New-York-City-Ballet--All-Stravinsky-1-28-2025'],['New York City Ballet: New Combinations','David H. Koch Theater','New York, NY','Wednesday','1/29/2025','7:30 PM','6407415','New-York-City-Ballet--New-Combinations-1-29-2025'],['New York City Ballet: New Combinations','David H. Koch Theater','New York, NY','Thursday','1/30/2025','7:30 PM','6407416','New-York-City-Ballet--New-Combinations-1-30-2025'],['New York City Ballet: New Combinations','David H. Koch Theater','New York, NY','Friday','1/31/2025','7:30 PM','6407417','New-York-City-Ballet--New-Combinations-1-31-2025'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Saturday','2/1/2025','2:00 PM','6407407','New-York-City-Ballet--All-Balanchine-2-1-2025'],['New York City Ballet: All Stravinsky','David H. Koch Theater','New York, NY','Saturday','2/1/2025','7:30 PM','6407413','New-York-City-Ballet--All-Stravinsky-2-1-2025'],['New York City Ballet: New Combinations','David H. Koch Theater','New York, NY','Sunday','2/2/2025','3:00 PM','6407418','New-York-City-Ballet--New-Combinations-2-2-2025'],['New York City Ballet: All Stravinsky','David H. Koch Theater','New York, NY','Tuesday','2/4/2025','7:30 PM','6407414','New-York-City-Ballet--All-Stravinsky-2-4-2025'],['New York City Ballet: All Balanchine II','David H. Koch Theater','New York, NY','Wednesday','2/5/2025','7:30 PM','6407419','New-York-City-Ballet--All-Balanchine-II-2-5-2025'],['New York City Ballet: Innovators and Icons','David H. Koch Theater','New York, NY','Thursday','2/6/2025','7:30 PM','6407424','New-York-City-Ballet--Innovators-and-Icons-2-6-2025'],['New York City Ballet: Innovators and Icons','David H. Koch Theater','New York, NY','Friday','2/7/2025','7:30 PM','6407425','New-York-City-Ballet--Innovators-and-Icons-2-7-2025'],['New York City Ballet: All Balanchine II','David H. Koch Theater','New York, NY','Saturday','2/8/2025','2:00 PM','6407420','New-York-City-Ballet--All-Balanchine-II-2-8-2025'],['New York City Ballet: Innovators and Icons','David H. Koch Theater','New York, NY','Saturday','2/8/2025','7:30 PM','6407426','New-York-City-Ballet--Innovators-and-Icons-2-8-2025'],['New York City Ballet: Innovators and Icons','David H. Koch Theater','New York, NY','Sunday','2/9/2025','3:00 PM','6407427','New-York-City-Ballet--Innovators-and-Icons-2-9-2025'],['New York City Ballet: All Balanchine II','David H. Koch Theater','New York, NY','Tuesday','2/11/2025','7:30 PM','6407421','New-York-City-Ballet--All-Balanchine-II-2-11-2025'],['New York City Ballet: Balanchine & Wheeldon','David H. Koch Theater','New York, NY','Wednesday','2/12/2025','7:30 PM','6407428','New-York-City-Ballet--Balanchine---Wheeldon-2-12-2025'],['New York City Ballet: All Balanchine II','David H. Koch Theater','New York, NY','Thursday','2/13/2025','7:30 PM','6407422','New-York-City-Ballet--All-Balanchine-II-2-13-2025'],['New York City Ballet: Balanchine & Wheeldon','David H. Koch Theater','New York, NY','Friday','2/14/2025','7:30 PM','6407429','New-York-City-Ballet--Balanchine---Wheeldon-2-14-2025'],['New York City Ballet: Balanchine & Wheeldon','David H. Koch Theater','New York, NY','Saturday','2/15/2025','2:00 PM','6407430','New-York-City-Ballet--Balanchine---Wheeldon-2-15-2025'],['New York City Ballet: Balanchine & Wheeldon','David H. Koch Theater','New York, NY','Saturday','2/15/2025','7:30 PM','6407507','New-York-City-Ballet--Balanchine---Wheeldon-2-15-2025'],['New York City Ballet: Balanchine & Wheeldon','David H. Koch Theater','New York, NY','Sunday','2/16/2025','3:00 PM','6407431','New-York-City-Ballet--Balanchine---Wheeldon-2-16-2025'],['New York City Ballet: All Balanchine II','David H. Koch Theater','New York, NY','Tuesday','2/18/2025','7:30 PM','6407423','New-York-City-Ballet--All-Balanchine-II-2-18-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Wednesday','2/19/2025','7:30 PM','6407432','New-York-City-Ballet--Swan-Lake-2-19-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Thursday','2/20/2025','7:30 PM','6407433','New-York-City-Ballet--Swan-Lake-2-20-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Friday','2/21/2025','7:30 PM','6407434','New-York-City-Ballet--Swan-Lake-2-21-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Saturday','2/22/2025','2:00 PM','6407435','New-York-City-Ballet--Swan-Lake-2-22-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Saturday','2/22/2025','7:30 PM','6407498','New-York-City-Ballet--Swan-Lake-2-22-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Sunday','2/23/2025','3:00 PM','6407436','New-York-City-Ballet--Swan-Lake-2-23-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Tuesday','2/25/2025','7:30 PM','6407437','New-York-City-Ballet--Swan-Lake-2-25-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Wednesday','2/26/2025','7:30 PM','6407438','New-York-City-Ballet--Swan-Lake-2-26-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Thursday','2/27/2025','7:30 PM','6407439','New-York-City-Ballet--Swan-Lake-2-27-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Friday','2/28/2025','7:30 PM','6407440','New-York-City-Ballet--Swan-Lake-2-28-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Saturday','3/1/2025','2:00 PM','6407441','New-York-City-Ballet--Swan-Lake-3-1-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Saturday','3/1/2025','7:30 PM','6407515','New-York-City-Ballet--Swan-Lake-3-1-2025'],['New York City Ballet: Swan Lake','David H. Koch Theater','New York, NY','Sunday','3/2/2025','3:00 PM','6407442','New-York-City-Ballet--Swan-Lake-3-2-2025'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Tuesday','4/22/2025','7:30 PM','6407443','New-York-City-Ballet--All-Balanchine-4-22-2025'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Wednesday','4/23/2025','7:30 PM','6407444','New-York-City-Ballet--All-Balanchine-4-23-2025'],['New York City Ballet: Innovators and Icons','David H. Koch Theater','New York, NY','Thursday','4/24/2025','7:30 PM','6407448','New-York-City-Ballet--Innovators-and-Icons-4-24-2025'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Friday','4/25/2025','7:30 PM','6407445','New-York-City-Ballet--All-Balanchine-4-25-2025'],['New York City Ballet: All Balanchine','David H. Koch Theater','New York, NY','Saturday','4/26/2025','2:00 PM','6407446','New-York-City-Ballet--All-Balanchine-4-26-2025']],'David H Koch Theater','http://www.ticketnetwork.com/ticket/David-H-Koch-Theater-events.aspx');